package cn.tedu.hotel.serve.service;


import cn.tedu.hotel.serve.pojo.dto.HotelScoreDTO;
import cn.tedu.hotel.serve.pojo.vo.HotelScoreVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface IHotelScoreService {

    void addHotelScore(HotelScoreDTO hotelScoreDTO);

    HotelScoreVO getHotelScoreByUserIdAndHotelId(Long userId,Long hotelId);

    List<HotelScoreVO> getAdminUserScoreList();

    void deleteScoreById(Long id);
}
